package com.aliyun.messagemgt.dto;

import com.aliyun.messagemgt.common.annotation.CustomAnnotation;
import com.aliyun.messagemgt.dto.base.FourAObjectEntity;
import com.aliyun.messagemgt.common.dto.base.UserInfo;
import lombok.Data;

import java.util.List;

/**
 * @author
 * @date
 */
@Data
public class PushChannelAdd extends UserInfo {
    @CustomAnnotation(name="pushChannelId",  desc = "渠道id")
    private Long pushChannelId;
    /**
     * 渠道名称
     */
    private String description;

    /**
     * 渠道编码
     */
    private String channelCode;

    /**
     * 渠道类型
     */
    private Integer channelType;

    /**
     * 管理员
     */
    private List<FourAObjectEntity> owners;

    private String owner;
    /**
     * 归属部门
     */
    private String ownerDept;

    private String ownerDeptName;

    /**
     * 渠道描述
     */
    private String pushChannelDescription;

    /**
     * 应用图标
     */

    private String icon;

    /**
     * app 包名
     */
    private String appPackageName;

    private String appKey;

    private String appSecret;

    private String huaweiAppId;

    private String huaweiAppSecret;

    private String xiaomiAppSecret;

    private String gcmFcmSecret;

    private String corpId;

    private String corpSecret;

    private String agentId;

    /**
     * 企业群唯一标识
     */
    private String chatId;

    private String defaultStatus;

    private String userCreate;

    private Integer useStatus;
    
    private String channeluuid;
    //系统段的配置参数
    private Integer channelSysType;
    
    /**
     * api名称
     */
    private String apiName;
    
    /**
     * URL(和网页端公用)
     */
    private String apiUrl;
    
    /**
     * api方法
     */
    private String method;
    
    /**
     * 网页名称
     */
    private String webPackageName;
    
    private String apiHost;
    
    private String apiAppKey;
    
    private String apiAppSecret;

    /**
     * 蓝信grandType
     */
    private String grandType;
    
    private String gongZhongNoName;

    private String mqAddress;

    private String groupId;

    private String topic;

    private String tag;

    private String accessKey;

    private String secretKey;

    private String userUpdate;

    /**
     * 短信签名模板编码
     */
    private String smsTemplateCode;

    private String endpoint;

    /**
     * 邮件host
     */
    private String mailHost;
    /**
     * 短信/邮件密码/授权码
     */
    private String passWord;
    /**
     * 邮件port
     */
    private Integer mailPort;

    /**
     * 邮件协议 1-SMTP 2-POP3 3-IMAP
     */
    private Integer mailAgreement;

    /**
     * 短信/邮件用户名
     */
    private String sendName;

    /**
     * 邮件属性设置
     */
    private List<ChannelEmailParam> emailParams;

    /**
     * 租户code
     */
    private String tenantCode;
}
